package hang.study.uistudy;

import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

/**
 * Created by Administrator on 2015/9/22.
 */
public class TestListActivity extends ListActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        String[] arr = {"APP","爱电汇","的律师费","打开","考虑考虑","订单"};
        ArrayAdapter<String> adapter = new ArrayAdapter<>(this,android.R.layout.simple_list_item_multiple_choice,arr);
        setListAdapter(adapter);
    }
}
